package com.weixing.mall.provider.model.enums;


import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

@NoArgsConstructor
public enum MemberPointEnum implements IBaseEnum<Integer> {
    //1、增加积分 2、减少积分
    IN(1,"增加积分"),
    OUT(2,"减少积分")
    ;
    private int value;
    private String desp;

    MemberPointEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

}

